package com.zhangjie.serviceorder.remote;

import com.zhangjie.internalcommon.request.PushRequest;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @Auther: zj
 * @Date: 2024/3/12 - 03 - 12 - 23:17
 * @Description: com.zhangjie.serviceorder.remote
 * @version: 1.0
 */
@FeignClient("service-sse-push")
public interface ServiceSsePushClient {

    @RequestMapping(method = RequestMethod.POST, value = "/push")
    public String push(@RequestBody PushRequest pushRequest);
}
